package com.xiaoluyy.demo.core.dao;

import com.xiaoluyy.demo.common.domain.po.Address;
import com.xiaoluyy.demo.common.domain.po.AddressExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface AddressMapper {
    int countByExample(AddressExample example);

    int deleteByExample(AddressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Address record);

    int insertSelective(Address record);

    List<Address> selectByExample(AddressExample example);

    Address selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Address record, @Param("example") AddressExample example);

    int updateByExample(@Param("record") Address record, @Param("example") AddressExample example);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

    int updateByIdSelective(Address address);

    int deleteByIdDynamically(Map<String, Object> conds);

    Address selectById(@Param("addressId") int addressId);

    List<Address> selectByDynamically( @Param("address")  Address address);

    int updateByIdDynamically(Map<String, Object> conds);
}